package com.bw.service;

import com.bw.mapper.MavenMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class MavenServiceImp implements MavenService{

    @Autowired
    MavenMapper mavenMapper;
    @Override
    public List<Map> findXian(String time) {
        return mavenMapper.findXian(time);
    }

    @Override
    public List<Map> findBing(String date) {
        return mavenMapper.findBing(date);
    }

    @Override
    public List<Map> findLun(String add) {
        return mavenMapper.findLun(add);
    }

    @Override
    public List<Map> findZhu(String bbq) {
        return mavenMapper.findZhu(bbq);
    }
}
